{:jq()}
<div class="layui-header header header-demo">
	<div class="layui-main">
		<!-- logo区域 -->
		<div class="admin-logo-box">
			<a class="logo" href="" title="logo"><img src="{:_SKIN}/shadmin/v2/common/images/logo.png" alt=""></a>
			<div class="larry-side-menu">
				<i class="fa fa-bars" aria-hidden="true"></i>
			</div>
		</div>
		<!-- 顶级菜单区域 -->
		<div class="layui-larry-menu">
			<ul class="layui-nav clearfix">
				<li class="layui-nav-item layui-this">
					<a href="{:url('main')}" target="rright"><i class="iconfont icon-wangzhanguanli"></i>数据中心</a>
				</li>
				<li class="layui-nav-item" id="sales">
					<a href="{:url('sales/index')}"><i class="iconfont icon-jiaoseguanli2"></i>运营部</a>
				</li>
				<li class="layui-nav-item"  id="market">
					<a href="{:url('market/index')}" ><i class="layui-icon">&#xe629;</i>市场部</a>
				</li>
				<li class="layui-nav-item"  id="service">
					<a  target="rright"><i class="layui-icon">&#xe611;</i>客服部</a>
				</li>
				<li class="layui-nav-item" id="finance">
					<a   href="{:url('finance/index')}"><i class="layui-icon">&#xe65e;</i>财务部</a>
				</li>

			</ul>

		</div>
		<!-- 右侧导航 -->
		<ul class="layui-nav larry-header-item">
			<!-- <li class="layui-nav-item first">
                <a href="javascript:;">
                    <img src="{:_SKIN}/shadmin/v2/admin/images/userimg.jpg" class="userimg">
                    <cite>默认站点</cite>
                    <span class="layui-nav-more"></span>
                </a>
                <dl class="layui-nav-child">
                    <dd>
                        <a href="">站点1</a>
                    </dd>
                    <dd>
                        <a href="">站点2</a>
                    </dd>

                </dl>
            </li> -->
			<li class="layui-nav-item">
				<span class="fl"><div class="layui-input-inline"><input type="text" autocomplete="off" onfocus="en()" onblur="un()" placeholder="快速查询" id="so" class="layui-input"></div><button class="layui-btn layui-btn-normal mgl-20" onclick="so()">查询</button></span>
			</li>
			<li class="layui-nav-item">
				<a href="{:url('shadmin/login/out')}">
					<i class="iconfont icon-exit"></i>
					退出</a>
			</li>
		</ul>
	</div>
</div>
{php}
$request = request();
$act=strtolower($request->controller());
{/php}
<script>
var act= "{$act}";
$(".layui-larry-menu ul li").removeClass('layui-this');
$("#"+act).addClass('layui-this');

</script>